<h3 class="ppm-title"><em>Result : 0</em><button id="pmDownload"><img src="/module/base/images/17.png" />Download</button><img id="closeImg" src="/module/base/images/18.png" /></h3>
<table class="n-tb">
	<thead>
		<tr>
			<th>Isotope</th>
			<th>No</th>
			<th>PM Type</th>
			<th>Content</th>
			<th>Nation</th>
			<th>Downloads</th>
			<th><div class="n-tb-cell">Select<span class="n-checkbox"></span></div></th>
		</tr>
	</thead>
	
	<tbody id="pmtbody">
	</tbody>
	
</table>

<div class="n-page">
	<span>total 120</span>
	<button class="n-page-cur">1</button>
	<button>2</button>
	<button>3</button>
	<button>>></button>
	<button>last</button>
</div>
<script>
//下载
$("#pmDownload").click(function(){
	if(Object.keys(dowloadIndex).length === 0){
		layer.msg("Please select the  data to download !");
		return;
	}
	pm.serarchPageDoc();
})
//关闭
$("#closeImg").click(function(){
	$(".n-nav-links a").eq(2).click();
})
//全选
$(".n-tb-cell span").click(function(){
	if($(this).hasClass("n-checkboxCheck")){//取消
		$(this).removeClass("n-checkboxCheck");
		$("#pmtbody .n-checkbox").removeClass("n-checkboxCheck");
		dowloadIndex = new Object();
	}else{//选中
		$(this).addClass("n-checkboxCheck");
		$("#pmtbody .n-checkbox").addClass("n-checkboxCheck");
		for(var index = 0 ; index < PMdata.length; index++){
			dowloadIndex.index = index;
		}
	}
})
</script>